package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialInterruptRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialInterruptPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialInterruptDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialInterruptDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialInterruptDomainImpl extends BaseDomainImpl<ContractInitialInterruptDto, ContractInitialInterruptPo> implements ContractInitialInterruptDomain {

    @Resource
    private ContractInitialInterruptRepository contractInitialInterruptRepository;

    @Override
    public BaseRepository<ContractInitialInterruptPo> getMapper() {
        return contractInitialInterruptRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialInterruptPo>> getRepositoryClass() {
        return ContractInitialInterruptRepository.class;
    }

}
